package com.lshl.lingshang.http.lifecycle;

import androidx.lifecycle.MutableLiveData;

import com.lshl.lingshang.bean.ErrorBean;

/**
 * Description：用于请求返回错误信息 包括网络异常
 * Created on 2020/8/4
 * Author : 郭
 */
public class ErrorLiveData<T> extends MutableLiveData<T> {

    public void setValue(ErrorBean bean) {
        setValue((T) bean);
    }

}
